﻿/*----------------------------------------------------------------
  //Copyright (C) 2012 赵国伟
  //文件功能描述：员工管理
  //创建人：赵国伟
  //生成时间：2012/03/17 16:15:00
//----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Shopping.Common;
using Shopping.Model;
using Shopping.BLL;

public partial class Manage_EmployeesManage : BaseManagePage
{
    protected AsPage pageInfo = new AsPage();//分页对象；
    protected List<Employees> listOfEmployees;//员工对象；

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            EmployeesManage bllEmployee = new EmployeesManage();
            listOfEmployees = bllEmployee.QueryListAsPage("Status<>'" + Status.已删除.ToString() + "'", "CreateDate desc "
                , pageInfo.CurPage, pageInfo.PageSize, out pageInfo.TotalCount);

        }
    }

}